package com.runoob.food.burger;

import com.runoob.food.Food;
import com.runoob.packing.Packing;
import com.runoob.packing.impl.Wrapper;

/**
 * 汉堡包
 * <p>
 *
 * </p>
 *
 * @author zenglei
 * @date 2023/05/30/ 15:34
 */
public abstract class Burger implements Food {

    @Override
    public abstract String name();

    @Override
    public abstract float price();

    /**
     * 提供默认的打包方式
     * @return
     */
    @Override
    public Packing packing() {
        return new Wrapper();
    }
}
